package com.springboot.listener;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.stereotype.Component;

/**
 * @Auther: Admin
 * @Date: 2021/5/7 16:46
 * @Description:
 */
@Component
public class MyApplicationContextInit implements ApplicationContextInitializer {
    @Override
    public void initialize(ConfigurableApplicationContext configurableApplicationContext) {

        System.out.println("MyApplicationContextInit...");
    }
}
